<?php
require_once "globalFunctions.php";
if (isset($_POST["name"]) && isset($_POST["pass"])) {
	getDB()->addUser($_POST["name"], $_POST["pass"]);
} else {
	echo "problem.";
}
?>